import Cookies from "js-cookie";


// 设置cookie
export const setCookie = (key, value) => {
    Cookies.set(key, value, { expires: 7 })
}
// 获取cookie
export const getCookie = (key) => {
    return Cookies.get(key)
}
// 删除cookie
export const removeCookie = (key) => {
    Cookies.remove(key)
}
